Skip to main content

Get Channel

AutomatR.MicrosoftTeams.Activities.GetChannel

The "Get Channel" activity in AutomatR for Microsoft Teams retrieves details about a specific channel within a Microsoft Teams team. This activity is valuable for accessing channel information and managing channels within Teams.

Properties

NameDescription
Input
Team IDSpecifies the Team ID to which the target channel belongs. String variables containing the Team ID.
Channel IDSpecifies the Channel ID for which details are to be retrieved. String variables containing the Channel ID.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a Microsoft.Graph.Channel object, representing the details of the specified channel within the Microsoft Teams team. This includes information such as the channel's display name, ID, and other relevant details.

How to use:

  1. Drag and drop the "Get Channel" activity onto the workflow.
  2. Configure the properties by specifying the Team ID and Channel ID for the channel you want to retrieve details for.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve details about the specified channel within the Microsoft Teams team.

Example: Consider an example where the "Get Channel" activity is used to retrieve details about a channel with the Channel ID "channel123" within a Teams team with the Team ID "team456":

Get Channel:
Team ID: "team456"
Channel ID: "channel123"
Delay: 1
Result: channelDetails

In this example, the activity retrieves details about the channel with the Channel ID "channel123" within the Teams team with the Team ID "team456". The resulting channelDetails object contains information about the specified channel, which can be further processed in the workflow.